/**
 * Created by moxingxum on 2017/2/12.
 */

//存储用户登录信息
export const UserSchema =  {
    name: 'User',
    primaryKey: 'userId',
    properties: {
        userId: 'string',
        username:  'string',
        avatarColor: {type: 'string', optional: true},
        status: {type: 'string', optional: true},
        email: {type: 'string', optional: true},
        emailVerified: {type: 'bool', optional: true},
        token: {type: 'string', optional: true},
        tokenExpiredAt: {type: 'date', optional: true},
      //  settings: {type: 'Settings'}

    }
};



